<template>
    <div>
        <!-- 面包屑 -->
        <el-breadcrumb separator="/" replace=true>
  <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
  <el-breadcrumb-item >会员管理</el-breadcrumb-item>
</el-breadcrumb>
        <!-- 列表 -->
        <list @edit="edit"></list>
        <!-- 弹框 -->
        <v-dialog :isShow="isShow"   @cancel="cancel" ></v-dialog>
     </div>
</template>

<script>
import list from './list.vue'
import vDialog from './dialog.vue'
export default {
  data () {
    return {
      isShow: false

    }
  },
  components: {
    list,
    vDialog
  },
  methods: {
    // 打开弹框
    add () {
      this.isShow = true
    },
    cancel (e) {
      this.isShow = e
    },
    edit () {
      this.isShow = true
    }
  }
}
</script>

<style lang="less" scoped>
.addBtn {
    margin: 20px 10px;
}
</style>
